Vue.component("colligate_colligate", {
    template: ` <div class="colligate w1210 bc mt10">
        <!-- 幻灯区域 start -->
        <div class="slide fl">
            <div class="area">
                <div class="slide_items">
                    <ul>
                        <li v-for="v in images"><a :href="v.link"><img :src="v.img" alt=""/></a></li>
                      
                    </ul>
                </div>
                <div class="slide_controls">
                    <ul>
                     <li  v-for="(v,k) in images" >{{k+1}}</li>
                    </ul>
                </div>
            </div>
        </div>
        <!-- 幻灯区域 end-->

        <!-- 快报区域 start-->
        <div class="coll_right fl ml10">
            <div class="ad"><a href=""><img src="images/ad.jpg" alt=""/></a></div>

            <!-- 网站快报 start -->
            <newsflash_coll_right></newsflash_coll_right>
            <!-- 网站快报 end -->

            <!-- 服务 start -->
            <newsflash_service></newsflash_service>
            <!-- 服务 end -->

        </div>
        <!-- 快报区域 end-->
        
    </div>`,
    data() {
        return {
            images: []
        }
    },

    created() {
        getAd().then(res => {
            this.images = res.data.data;
        })
    },
    methods: {}
})